package com.example.dzbsh.dao;

import com.example.dzbsh.model.Caozuojilu;
import com.example.dzbsh.model.CaozuojiluExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface CaozuojiluMapper {
    int countByExample(CaozuojiluExample example);

    int deleteByExample(CaozuojiluExample example);

    int deleteByPrimaryKey(String id);

    int insert(Caozuojilu record);

    int insertSelective(Caozuojilu record);

    List<Caozuojilu> selectByExample(CaozuojiluExample example);

    Caozuojilu selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Caozuojilu record, @Param("example") CaozuojiluExample example);

    int updateByExample(@Param("record") Caozuojilu record, @Param("example") CaozuojiluExample example);

    int updateByPrimaryKeySelective(Caozuojilu record);

    int updateByPrimaryKey(Caozuojilu record);

    Map<String,Object> selectNumByLeixing(@Param("leixing")String ppLeixing);
}